text JS屬性 語法


Posted by mijouhsieh on 2023-03-15

字串不是空白
string.trim().length > 0

輸入框節點內的值
input.value


#text-js-property-syntax #trim







Related Posts

leetcode-Remove Duplicates from an Array (ES6)

leetcode-Remove Duplicates from an Array (ES6)

後端與前端的差異

後端與前端的差異

Day02_Origami學習筆記

Day02_Origami學習筆記


Comments